# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=caffeine-ng
pkgver=3.5.1
pkgrel=2
pkgdesc="Status bar application able to temporarily inhibit the screensaver and sleep mode"
url="https://github.com/caffeine-ng/caffeine-ng"
arch="noarch"
license="GPL-3.0-or-later"
depends="py3-gobject3 py3-xdg py3-dbus py3-docopt py3-setproctitle
	libnotify gtk+3.0 xdg-utils py3-ewmh
	"
makedepends="py3-setuptools py3-setuptools_scm"
subpackages="$pkgname-doc"
options="!check" # No testsuite
source="https://github.com/caffeine-ng/caffeine-ng/releases/download/v$pkgver/caffeine-ng-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir"
}

sha512sums="d37a4ddfefca3ed883a7aade0c25ef9f1bf475d27cb43e7c64ee6f946a9157727c5527ad2c06fb39bac6e74344f523c1d9f2896c301b33cd3c8c6e1ed52a99fb  caffeine-ng-3.5.1.tar.gz"
